class Dog {
  String? name;
  int? _age = 18;

  void sayHi() {
    print('$name说我要吃$_age个鸡腿');
  }
}
